import request from '@/utils/request';

// 查询绑定华为云用户列表
export function virtuallyAccountList(data) {
  return request({
    url: '/system/virtually/account/list',
    method: 'post',
    data
  })
}

// 添加绑定华为云用户
export function addVirtuallyAccount(data) {
  return request({
    url: '/system/virtually/account',
    method: 'post',
    data
  })
}

// 修改绑定华为云用户
export function updateVirtuallyAccount(data) {
  return request({
    url: '/system/virtually/account',
    method: 'put',
    data
  })
}

// 删除绑定华为云用户
export function delVirtuallyAccount(data) {
  return request({
    url: '/system/virtually/account/batchDelete',
    method: 'post',
    data
  })
}